package com.app.llpb;

import android.app.Activity;
import android.os.Bundle;

import com.app.llpb.model.LLPBInfo;

/**
 * 首页
 * Author：cjj
 * Blog：jianjunchen.net
 */
public class MainActivity extends Activity {

    private LLPBAndText llpbAndtext;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        llpbAndtext = (LLPBAndText) findViewById(R.id.llpb);
        llpbAndtext.setPbColor(R.color._7dc837);//设置当前进度条颜色
        llpbAndtext.setDefaultColor(R.color._c3e99c);//设置默认进度条颜色
        final LLPBInfo llpb = new LLPBInfo();
        llpb.setPb(1290);
        llpb.setTotle(1400);
        llpbAndtext.setData(llpb);//加载数据

    }

}
